#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
    int n = 0;
    char ch = 0;
    scanf("%d %c", &n, &ch);
    char arr[11][21];

    int l = 0;
    if (n % 2 == 0)
    {
        l = n / 2;
    }
    else
    {
        l = n / 2 + 1;
    }
    for (int i = 0; i < l; i++)
    {
        for (int j = 0; j < n; j++)
        {
            arr[i][j] = ch;
        }

    }
    for (int i = 0; i < l; i++)
    {
        for (int j = 0; j < n; j++)
        {
            printf("%c", arr[i][j]);
        }
        printf("\n");
    }
    return 0;

}